import http from '@/utils/http'

// 分页搜索小易通知
export let hycMessageList = (params) => {
  const url = '/message-management/hycMessage-management/selectHycMessagePage'
  return http.post(url, params)
}
// 添加小易消息
export const addHycMessage = (params) => {
  const url =
    '/message-management/hycMessage-management/hycMessageCreate-management/addHycMessage'
  return http.post(url, params)
}

// 删除小易消息
export const delHycMessage = (params) => {
  const url = '/message-management/hycMessage-management/delHycMessage'
  return http.post(url, params)
}

// 撤回小易消息
export const recallHycMessage = (params) => {
  const url = '/message-management/hycMessage-management/recallHycMessage'
  return http.post(url, params)
}

// 编辑小易消息
export const updateHycMessage = (params) => {
  const url =
    '/message-management/hycMessage-management/hycMessageCreate-management/updateHycMessage'
  return http.post(url, params)
}
